home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / listings / v_09_04 / 9n04039a < prev    next >
Text File  |  1991-02-23  |  343b  |  11 lines

  1.  
  2. EVENT_MSG msg;            /* allocate space for a message */
  3.  
  4. Picture("test", NULL);        /* create a picture to write to */
  5. DrawAt(200, 100);        /* set the coordinates */"
  6.  
  7. DrawText("Hello, world", 0, 0, 0, NULL, NULL);    /* draw it */
  8. Window("test", "T", "C", NULL);         /* show it */
  9. GetEvent(0, &msg, sizeof(EVENT_MSG));        /* wait for an event */
  10.  
  11.